<?php
/* @var $this PageController */
/* @var $model Page */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'page-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'top_halaman'); ?>
		<?php echo $form->textField($model,'top_halaman'); ?>
		<?php echo $form->error($model,'top_halaman'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'urut_halaman'); ?>
		<?php echo $form->textField($model,'urut_halaman'); ?>
		<?php echo $form->error($model,'urut_halaman'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'nama_halaman'); ?>
		<?php echo $form->textField($model,'nama_halaman',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'nama_halaman'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'page_name'); ?>
		<?php echo $form->textField($model,'page_name',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'page_name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'judul'); ?>
		<?php echo $form->textField($model,'judul',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'judul'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'title'); ?>
		<?php echo $form->textField($model,'title',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'title'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'content'); ?>
		<?php echo $form->textArea($model,'content',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'content'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'isi_halaman'); ?>
		<?php echo $form->textArea($model,'isi_halaman',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'isi_halaman'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'gol_halaman'); ?>
		<?php echo $form->textField($model,'gol_halaman'); ?>
		<?php echo $form->error($model,'gol_halaman'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'kategori_halaman'); ?>
		<?php echo $form->textField($model,'kategori_halaman',array('size'=>2,'maxlength'=>2)); ?>
		<?php echo $form->error($model,'kategori_halaman'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'file_include'); ?>
		<?php echo $form->textField($model,'file_include',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'file_include'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'status_halaman'); ?>
		<?php echo $form->textField($model,'status_halaman'); ?>
		<?php echo $form->error($model,'status_halaman'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'tgl_halaman'); ?>
		<?php echo $form->textField($model,'tgl_halaman',array('size'=>14,'maxlength'=>14)); ?>
		<?php echo $form->error($model,'tgl_halaman'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ip_halaman'); ?>
		<?php echo $form->textField($model,'ip_halaman',array('size'=>60,'maxlength'=>225)); ?>
		<?php echo $form->error($model,'ip_halaman'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->